package com.fy.market;

import ch.qos.logback.classic.pattern.MessageConverter;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;

@SpringBootApplication(scanBasePackages = "com.fy.market")
@MapperScan("com.fy.market.persistent.mapper")
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.fy.market.trigger.feign")
public class FyMarketApplication {
    public static void main(String[] args) {
        SpringApplication.run(FyMarketApplication.class, args);
        System.out.println("项目启动成功");
    }
}